package com.zenith.edu.po.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_warning_rule")
@Schema(name = "EduWarningRule", description = "预警规则实体")
public class EduWarningRule extends BaseEntity {
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "规则名称")
    private String ruleName;
    
    @Schema(description = "阈值百分比")
    private BigDecimal thresholdPct;
    
    @Schema(description = "预警类型：1-低进度 2-低成绩 3-缺签到")
    private Integer warningType;
    
    @Schema(description = "状态：1-启用 2-禁用")
    private Integer status;
}